package cn.stylefeng.guns.modular.business.frequency.ordercontract.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.business.frequency.ordercontract.entity.OrderContract;
import cn.stylefeng.guns.modular.business.frequency.ordercontract.model.param.OrderContractParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 订单合同 服务类
 *
 * @author yujie
 * @date 2023/05/09 17:16
 */
public interface OrderContractService extends IService<OrderContract> {

    /**
     * 分页查询订单合同
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    PageResult<OrderContract> page(OrderContractParam orderContractParam);

    /**
     * 查询所有订单合同
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    List<OrderContract> list(OrderContractParam orderContractParam);

    /**
     * 添加订单合同
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void add(OrderContractParam orderContractParam);

    /**
     * 删除订单合同
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void delete(OrderContractParam orderContractParam);

    /**
     * 编辑订单合同
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void edit(OrderContractParam orderContractParam);

    /**
     * 查看详情订单合同
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    OrderContract detail(OrderContractParam orderContractParam);

}